package com.nmc.web.dao;

import com.nmc.web.entity.Ticket;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("TicketDao")
public interface TicketDao {
    //查询票号是否存在、是否结算
    List<Ticket> selectIsClearing(String ticket_id);

    //结算
    int updateStatus(Ticket ticket);

    //查询展览
    List<Ticket> selectExhibition();

    //查询用户名
    List<Ticket> selectUser();


    List<Ticket> selectClearing(int exhibition_id);

}
